package com.stepshop.sys.service.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Service;

import com.stepshop.core.service.impl.BaseServiceImpl;
import com.stepshop.sys.bean.CfgCategory;
import com.stepshop.sys.dao.CfgCategoryMapper;
import com.stepshop.sys.service.CfgCategoryService;
@Service
public class CfgCategoryServiceImpl extends BaseServiceImpl<CfgCategory, CfgCategoryMapper> implements CfgCategoryService {

	@Override
	public List<CfgCategory> queryCfgCatesCache() {
		List<CfgCategory> cfgCates = mapper.selectCfgCatesByCateType(1);
		if(cfgCates==null){
			cfgCates=new ArrayList<CfgCategory>();
		}
		return cfgCates;
	}
	
}

